package com.xinghanlaser.applet.base.flow.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName flow_line
 */


@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("flow_line_step")
@ApiModel(value = "FlowLineStep", description = "流程路线步骤")
public class FlowLineStep {
    @TableId
    private Long id;

    @ApiModelProperty(value = "流程路线ID")
    private Long lineTypeId;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "当前节点id")
    private Long currentPointId;

    @ApiModelProperty(value = "当前节点描述")
    private String currentPointDesc;

    @ApiModelProperty(value = "下一个节点id")
    private Long nextPointId;

    @ApiModelProperty(value = "下一个节点描述")
    private String nextPointDesc;

    @ApiModelProperty(value = "是否为最后一个步骤")
    private Integer canOperationNext;

    @ApiModelProperty(value = "是否为最后一个步骤")
    private Integer isEnd;

    @ApiModelProperty(value = "是否启用，默认1代表启用")
    private Integer isEnable;
}